package com.ute.chinesechess;

public class OCo {
	int Hang;
	int Cot;
	int Phe;	//0 la do	// 1 la den
	int ThuTu;
	String Ten;
	boolean Trong; // Co quan co nao khac khong

	OCo() {
		Hang = -1;
		Cot = -1;
		Phe = -1;
		ThuTu = -1;
		Ten = "";
		Trong = true;
	}

	public void reset() {
		Hang = -1;
		Cot = -1;
		Phe = -1;
		ThuTu = -1;
		Ten = "";
		Trong = true;
	}

	public void copy(OCo c){
		Phe = c.Phe;
		ThuTu = c.ThuTu;
		Ten = c.Ten;
		Trong = false;
	}
}
